package com.mall.mallDemo.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
//import java.security.SecureRandomParameters;

@Data
@TableName("shopping_cart")
public class ShoppingCart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer userId;
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer productId;
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer num;
}
